home *** CD-ROM | disk | FTP | other *** search
- Subject: TextShape bounds
- Sent: 12/12/96 2:46 PM
- Received: 12/12/96 2:54 PM
- From: Scott Daniels, scottdfl@sprynet.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Hi,
-
- I am using a FW_CTextShape, and calling GetBounds to get its enclosing
- rect. The problem I am encountering is the rect returned seems to be
- dependant on the view's transform (I am using the view's graphic context
- for the GetBounds call).
-
- Is this problem an ODF bug, or am I misusing GetBounds? In either event,
- what is the best way to determine the enclosing rect of a textshape in the
- current view regardless of its scale and offset due to scrolling?
-
- Many thanks,
-
- Scott Daniels scottdfl@sprynet.com
- "Life appears the way you choose to see it."
-